<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        input:checked {
            width: 50px;
            height: 50px;
        }

        input:disabled {
            background-color: #0f0;
        }

        input:read-only {
            background-color: antiquewhite;
        }

        input:required {
            background-color: aquamarine;
        }

        a:link {
            background-color: #00f;
        }

        a:visited {
            background-color: #0f0;
        }

        a:hover {
            background-color: antiquewhite;
        }

        a:active {
            background-color: #000;
        }

        a[href='https://www.baidu.com/'] {
            color: aliceblue;
        }

        a[href^='https://w'] {
            color: orange
        }

        a[href$="p"] {
            color: red;
        }

        a[href*=".163"] {
            color: #000;
        }
    </style>
</head>

<body>
    <input type="checkbox" checked>
    <input type="radio" checked>
    <input type="text" disabled>
    <input type="text" readonly>
    <input type="text" required>
    <input type="text">

    <a href="https://www.baidu.com/">百度</a>
    <a href="https://music.163.com/">网易云</a>
    <a href="https://www.mi.com/shop">小米</a>
    <a href="https://www.douban.com/">豆瓣</a>
</body>

</html>